package arina.university.view;

import arina.university.model.Student;

import java.util.Collection;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 27.11.13
 * Time: 15:34
 * To change this template use File | Settings | File Templates.
 */
public class StudentView {
    public void getStudentInfo(Student student){
        System.out.print("ID:");
        System.out.println(student.getId() + " Name: " + student.getName() + " Enter Date: " + student.getDate());
    }

    public void getStudentsInfo(Collection<Student> students) {
        for (Student student : students) {
            getStudentInfo(student);
        }
    }
}
